$OpenBSD: patch-libproxy_cmake_pxmodule_cmk,v 1.2 2012/10/12 13:01:15 sthen Exp $
--- libproxy/cmake/pxmodule.cmk.orig	Fri Oct 12 13:43:24 2012
+++ libproxy/cmake/pxmodule.cmk	Fri Oct 12 13:43:32 2012
@@ -18,7 +18,7 @@ function(px_module name build builtin)
       set(built "m")
       set_property(SOURCE modules/${name}.cpp PROPERTY COMPILE_DEFINITIONS LIBEXECDIR="${LIBEXECDIR}")
       add_library(${name} MODULE modules/${name}.cpp)
-      target_link_libraries(${name} libproxy)
+      target_link_libraries(${name} proxy)
       set_target_properties(${name} PROPERTIES PREFIX "")
       install(TARGETS ${name} LIBRARY DESTINATION ${MODULE_INSTALL_DIR})
       if(${ARGC} GREATER 3)
